import hashlib
# 将传入的结果进行hash后返回
def hash_password(passwd):
    # passwd 123456
    passwd = passwd.encode()
    return hashlib.md5(passwd).hexdigest()

name = "xiaoming"